package com.qf.job;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.util.Date;

/**
 * @ClassName MyJob
 * @Author xiao宋
 * @Date 10:26  2022/10/9
 * @Version 1.0
 * @Description TODO
 */
public class MyJob implements Job {
    int num=0;

    public void execute(JobExecutionContext context) throws JobExecutionException {

        System.out.println("job 出来干了"+ ++num + "次活了"+new Date());
    }
}
